<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<div class="raceForm">
    <c:if test="${not empty pageContext.request.getParameter('login_error')}">
            <div class="errorblock">
                <h3><s:label for="login.error.message"/></h3>
                    <c:out value="${SPRING_SECURITY_LAST_EXCEPTION.message}"/>
            </div>
    </c:if>
    <s:form name='f' action="j_spring_security_check" method='POST'>
            <legend><tiles:getAsString name="legend"/></legend>
            <div id="form">
                <div class="row">
                    <s:label for="login.username"/>
                    <s:text name='j_username' value=''/>
                    <div class="accordion">
                        <s:label for="requiredValue"/>
                    </div>
                </div>
                <div class="row">
                    <s:label for="login.password"/>
                    <s:password name='j_password' />
                    <div class="accordion">
                        <s:label for="requiredValue"/>
                    </div>
                </div>
                    <div class="cent">
                        <s:submit name="login.submit"/>
                        <s:reset name="login.reset"/>
                    </div>
            </div>
    </s:form>
</div>